const stuModel = require('./studentsModel')
    // 7. 单条删除 model.deleteOne({},callback)
    // stuModel.deleteOne({name:"富富"},(err,data)=>{
    //     console.log(err); //删除成功 null
    //     console.log(data);
    // })
    
    // 8. 批量删除 model.deleteMany({}.callback)
    stuModel.deleteMany({name:"富富"},(err,data)=>{
        console.log(err); //删除成功 null
        console.log(data);
    })